#include "InternalsPlugin.hpp"
#include "Sprite.hpp"
#include "TypeDefs.hpp"

#pragma once
class WidgetReplay
{
public:
	WidgetReplay(const char *pRootPath, const char *pIniUIFilename, const char *pIniDriverMappingFilename, const char *pIniVehiculeClassMappingFilename);
	~WidgetReplay(void);

	void init(const ScreenInfoV01 &info, float ratio, float ratioWidth, float ratioHeight, Sprite spriteList[]);
	//void updateData(const ScoringInfoV01 &info);
	void render(int profileIndex, const ScreenInfoV01 &info, const LPD3DXFONT *fontList, const D3DCOLOR *colorList, Sprite spriteList[]); 

//private:
  bool initialized;
 

RECT tmpRect;

 const char *rootPath;
  char iniUIFilename[800];

  // widget
  bool available;
  ImageData bgImageData;
 
     // tools
  char tmp[1000];
};

